package com.kbt.service;

/**
 * @author zhgk
 * @package: com.kbt.service
 * @TODO: 用于处理登录相关操作
 * @data: 2015/8/15 14:37
 * @version: V1.0
 */
public class LoginService {
    /***
     * 校验用户名或密码是否存在
     *
     * @param userName
     * @param userPass
     * @return
     */

    public static boolean checkUserLogin(String userName, String userPass) {
        return !(userName.length() == 0 || userPass.length() == 0);
    }
}
